Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Getting Started with a RealMan Robot
Description: This tutorial guides you through the process of establishing contact between ROS and a RealMan RobotTutorial Level: INTERMEDIATE
Prerequisites
In order to complete this tutorial, you should have access to the following:
- A computer with ROS installed (Melodic)
Package rm_robot
This particular tutorial was tested on a RealMan robotic manipulator. The operating system based on Ubuntu 18.04.
Overview
The rm_robot metapackage communicates with hardware via Ethernet connection.
Install necessary software
Catkin workspace
There are releases available for ROS Indigo. However, for the latest features and developments you might want to install from source.
First set up a catkin workspace (see http://wiki.ros.org/catkin/Tutorials).
Then clone the [https://github.com/RealManRobot/rm_robot] repository into the src/folder. Make sure to select the applicable branch before cloning (e.g. Indigo). It should look like /home/your/catkin_ws/src/rm_robot.
In order to compile the package successfully, you need to install some packages related to MoveIt package.
- Make sure to source the correct setup file according to your workspace hierarchy, then use catkin build to compile(You should compile rm_msgs first before compiling the source code).
$catkin build rm_msgs $catkin build
Move robot
Using MoveIt! with simulated robot in Gazebo
- Before running, you need to modify rm_65_moveit_config/launch/rm_65_moveit_controller_manager.launch.xml and load controllers_gazebo.yaml.
Use MoveIt in RVIZ to control the simulated robot in Gazeboļ¼run:
$roslaunch rm_gazebo arm_65_bringup_moveit.launch
- Then select and move the end-effector to a new goal. "Interact".
In -> to send trajectory to the sim robot "Motion Planning" "Plan and Execute".
- Exit RViz and Ctrl-C the Terminal window.
MoveIt!use ros control with a real robot
- Start the rm_control node, run:
$roslaunch rm_control rm_control.launch
Start the rm_driver and MoveIt!, run:
$roslaunch rm_bringup rm_robot.launch
- Select in rviz and move the end-effector to a new goal. "Interact"
In -> to send trajectory to the real robot "Motion Planning" "Plan and Execute".